<!-- 标题简介 -->

<{if $setting.buytarget == '2'}>
<{assign var='buytarget' value='target="_blank_cart"'}>
<{elseif $setting.buytarget == '3'}>
<{assign var='buytarget' value='target="_dialog_minicart"'}>
<{/if}>
<form action="<{link app=b2c ctl=site_cart act=add arg0=goods}>" method="post" <{$buytarget}>>
  <input type="hidden" name="prepare_type" value="<{$page_product_basic.promotion_type}>">
  <input type="hidden" name="btype">
  <input type="hidden" name="goods[goods_id]" value="<{$page_product_basic.goods_id}>">
  <input type="hidden" name="goods[product_id]" value="<{$page_product_basic.product_id}>">

		
	<{if strpos($page_product_basic.props.1_15.value, "Резерв") !== false}>
			<!--<div style="margin: 20px 0 0; padding: 15px; background-color: #BD8CC0; color: #FFF;">Резервируя товар заранее, Вы получаете его по сниженным ценам и раньше чем конкуретны!  Товар будет доступен для отгрузки со склада <b>06.09.2016</b></div>-->
	<{/if}>
	
		
	<div class="h1-wrap">
      <h1>
        <{$page_product_basic.title}>
        <{ if $page_product_basic.promotion_type == 'prepare'}>
            <span style="color:#fff;background:red;font-weight:bold;padding:0 10px;font-size: 14px;height: 20px;line-height: 20px;display: inline-block;vertical-align: middle;"><{t}>预售<{/t}></span>
        <{/if}>
      </h1>

	  
	  <!-- action, hit, stock -->
		<{foreach from=$page_product_basic.props key=prop_key item=property}>
		<{if $property.name == 'HOT!'}>
			<{if strpos($property.value, "Новинка") !== false}>
				<div class="item-special new">NEW</div>
			<{elseif strpos($property.value, "Хит") !== false}>
				<div class="item-special hit">ХИТ</div>
			<{elseif strpos($property.value, "Сток") !== false}>
				<div class="item-special stock"><i class="icon-best-prices"></i></div>
			<{elseif strpos($property.value, "Резерв") !== false}>
				<div class="item-special reserve">Резерв</div>
			<{/if}>
		<{/if}>
		<{if $property.name == 'Скидка'}>
			<{if $property.value > 0}>
				<div class="item-special sale">-<{$property.value}>%</div>
			<{/if}>
		<{/if}>	
		<{if $property.name == 'Склад'}>
			<{if $property.value == 'Пятигорск'}>
				<div class="express-shipping pyat"><span>Экспресс-отгрузка:</span>Пятигорск</div>
			<{/if}>
			<{if $property.value == 'Екатеринбург'}>
				<div class="express-shipping ekat"><span>Экспресс-отгрузка:</span>Екатеринбург</div>
			<{/if}>
			<{if $property.value == 'Москва'}>
				<div class="express-shipping msk"><span>Экспресс-отгрузка:</span>Москва</div>
			<{/if}>
		<{/if}>	
	 <{/foreach}>
		
		
		
		<!-- /action, hit, stock -->
		</div>

		
		<div class="clearfix"></div>
      <{if $page_product_basic.brief}><p><{$page_product_basic.brief}></p><{/if}>
   
  <div class="row">
	<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
  <div class="product-side" style="width:100%;">
    <{include file='site/product/info/pic.html'}>
	<script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"></script>
	<script type="text/javascript" src="//yastatic.net/share2/share.js" charset="utf-8"></script>
	<div style="padding:12px;" class="ya-share2" data-services="vkontakte,facebook,odnoklassniki,moimir,gplus,twitter,linkedin,whatsapp"></div>
  </div>
	</div>
	<div class="col-lg-7 col-md-7 col-sm-7 col-xs-12">
	<div class="row">
	<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
					  <!-- BUY BLOCK -->
				  <div class="product-buy">
				<div class="product-action">
						 <!--yhy供应商不能购买商品-->
						  <{ if $page_product_basic.promotion_type != 'prepare'}>
							  
							 
								  <div class="item-annotation item-price">Цена за ед.тов.: <span><{if $page_product_basic.mktprice > 0 }><span class="old-price"><{$page_product_basic.mktprice|cur}></span><{/if}><{$page_product_basic.s_price|cur}></span></div>
								  <div class="item-annotation item-price item-price-per-box" data-price="<{$page_product_basic.price}>">Цена за уп.:  <span><{$page_product_basic.price|cur}></span></div>
			  
							  <!--商品库存-->
							  <{include file='site/product/info/store.html'}>
							  <!--购买按钮-->
							  <{include file='site/product/info/btn.html'}>

							<{/if}>
							  <!--判断是预售商品-->
							<{ if $page_product_basic.promotion_type == 'prepare'}>
							   <{include file='site/product/prepare/store.html'}>
							   <{include file='site/product/prepare/btn.html'}>
							<{/if}>
						  
						  <!-- 分享推荐收藏 -->
						  <{include file='site/product/info/share.html'}>
						</div>
				  </div>
	
	<div class="item-text">
		<{$page_product_basic.intro}>
	</div>
	

<!--	<div class="table-responsive">
			<table class="table table-bordered table-condensed table-striped">
				<thead>
					<tr><th>В корзине</th><th>За короб</th><th>За пару</th></tr>
				</thead>
				<tbody>
<tr style="border-left: 6px solid #dddddd;"><td>до 20 000 руб.</td><td><{$page_product_basic.price|cur}></td><td><{$page_product_basic.s_price|cur}></td></tr>
<tr style="border-left: 6px solid #2686C6;"><td>от 20 000 руб.</td><td><{$page_product_basic.discount_price_1|cur}></td><td><{$page_product_basic.discount_s_price_1|cur}></td></tr>
	<tr style="border-left: 6px solid #5cb85c;"><td>от 50 000 руб.</td><td><{$page_product_basic.discount_price_2|cur}></td><td><{$page_product_basic.discount_s_price_2|cur}></td></tr>
<tr style="border-left: 6px solid #ffaf01;"><td>от 150 000 руб.</td><td><{$page_product_basic.discount_price_3|cur}></td><td><{$page_product_basic.discount_s_price_3|cur}></td></tr>
<tr style="border-left: 6px solid #d9534f;"><td>от 300 000 руб.</td><td><{$page_product_basic.discount_price_4|cur}></td><td><{$page_product_basic.discount_s_price_4|cur}></td></tr>
				<tbody>
			</table>
		</div>	-->

	
	
	</div><!--col-->
	<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
	
  <div class="product-main clearfix" > <!--style="margin-left:<{$setting.imageDefault.M.width+20}>px;"-->
 
    <!-- 商品基本信息 -->
    <div id="product_information" class="product-information">

		<div class="fl">
		<a href="/forms/cheap.php?vendorcode=<{$page_product_basic.product_bn|urlencode}>" class="modal-large-link cheap-link btn btn-danger" data-target="#modal-large" data-toggle="modal" onclick="yaCounter38355260.reachGoal('cheaper-click');"> <!--modal-large-link -->
			Найдете дешевле - мы снизим цену!
		</a>
		
			<!-- 扩展属性 -->
			<{include file='site/product/info/props.html'}>
			<!-- 商品规格 -->
			<{if $page_product_basic.spec.goods && $page_product_basic.goods_marketable == 'true'}>
				<{include file='site/product/info/spec.html'}>
			<{/if}>
		</div>
		
    </div>
  </div>
  </div><!--col-->
  </div><!--row-->
  </div>
</form>

<img src="<{link app=b2c ctl=site_product act=cron arg=$page_product_basic.goods_id }>" width="1" border="none" height="1">

<{*if $product_store.store <= 0*}>
<div id="product_notify" class="product-notify" style="display:none;">
  <p class="desc"><{t}>该货品暂时缺货，请在下面输入您的邮箱地址或手机号码，当我们有现货供应时，我们会发送邮件通知您！<{/t}></p>
  <form class="form" method="post" action="<{link app=b2c ctl=site_product act=toNotify}>">
    <input type="hidden" name="item[0][goods_id]" value="<{$page_product_basic.goods_id}>">
    <input type="hidden" name="item[0][product_id]" value="<{$page_product_basic.product_id}>">
    <ul>
      <li class="form-item">
        <label for="" class="form-label"><{t}>邮箱地址<{/t}>：</label>
        <span class="form-act">
          <{input type="text" name="email" id="" size="30" vtype="required&&email"}>
        </span>
      </li>
      <li class="form-item">
       <label for="" class="form-label"><{t}>手机号码<{/t}>：</label>
          <!-- <{input type="text" name="cellphone" id="" size="30" vtype="required"}>-->
		<{if $phones}>
			<!--手机验证-->
			<select name="phone_setting" id="quhao" style="border: 1px solid #ccc;padding:2px 5px;">
				<{foreach from=$phones item=items}>
				<option sid="<{$items.length}>" value="<{$items.area}>"><{$items.country}><{$items.area}></option>
				<{/foreach}>
			</select>
				<{input type="text" name="cellphone" id="" size="30" vtype="required"}>
		<{else}>
			<span class="form-act">
				<{input type="text" name="cellphone" id="" size="30" vtype="required"}>
			</span>
		<{/if}>
      </li>
      <li class="form-item form-item-last">
        <label for="" class="form-label"></label>
        <span class="form-act">
          <{button type="submit" class="btn-caution" label=$___b2c="提交"|t:'b2c' rel="_request"}>
        </span>
      </li>
    </ul>
  </form>
</div>
<{*/if*}>
</div>
</div>

<script type="text/javascript">
    (window["rrApiOnReady"] = window["rrApiOnReady"] || []).push(function() {
  try{ rrApi.view(<{$page_product_basic.goods_id}>); } catch(e) {}
 })
</script>


